added error for no command