Remove whitespace from batch import spec