output command response to clients
fix config order
fix error handling