cleaned up error list and valid command