Corrected key lock problem.