fixed problem in linking padlock