fixed toString() method of attribute values