reverted to locks located in one place
typo correction