Fix locker creation.