fix for nil property values in create hashes