Fixed a client side control bug

fixes #204