Tried to fix #1061
isPzLocked table
Merge pull request #1065 from EPuncker/master

fix #1061