fix negative values in genericProperties
Merge pull request #641 from crate/m/fix_negative_generic_property

fix negative values in genericProperties