Fix:some bugs in nine lock.