Fixed a bug where cmds with parameters didnt work