fixed auto-command error message