fixed cmd_register and cmd_unregister for "zero-bot" support