modify client side lock system