bugfix with non allowed cmds