bug fix actually set the property passed