remove uncesseary lockings