fixed rendering of custom field