fix unlock