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

fix property enforcement