lock reacquisition bug fixed