def fix_tract(t):
    """Clean up census tract names.

    :param t: Series of string tract names
    :returns: Series of cleaned tract names
    """
    if type(t) == str:
        return t
    return str(t).rstrip("0").rstrip(".")