added joint lock to server