fix UnlockWarn