Attempted fix of spaceLock