Removing invalid command