improved command handling responses from clients