fix a command bug