fixing bugs for custom tag inputs, using custom convert_to_tags