fixed cmd-status command