a fix to be specific to the class passed in when map is called, not just the property name