adding trim() for property values