fixed a wrong data access in Lock.showInfo