convert_to_string also does the check