fixed unlocking