code 1 for invalid command