fix getting command name