fix a bug in _cmd_reload_.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>