added fix against private/protected properties when propertyExists says they exist