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

fix property enforcement