invalid command catch added