fixed issue with incorrectly reading alignLocked