get rid of lock