Fix lock wrong object