moving lock to correct place.