fix lockPicks functionality