ensure string and custom options are reset properly