fix in lock mode