make the client side more legal