fixed invalid entry bug introduced from --auto arg merge