fixed some Cmd Mode behaviors

yes