fix bug for properties to string