Removing event from all commands, fixing xinga command