improved command comparison on the client.