prepare custom fields