fix some commands