missing lock added to stop occasional ladderq crash