fix property enforcement
Merge pull request #1799 from 9rnsr/enforceProp

fix property enforcement