Fix syntax of some commands.