Fix the --output both when creating records