property names

fixed property_names function. fixes #14 and #4