Fixed the resolution problem for unlock