fix property_exists usage