set flag client side working