custom fields improvement, trim s_options