fixed livestatus command handling