def clean_attrib(value):
    """Cleans up value string.

    Removes any trailing '_0' that randomly show up

    Args:
        value (str): attrib value to clean

    Returns:
        str: cleaned attribute value
    """
    clean_value = value
    if value.endswith("_0"):
        clean_value = clean_value.strip('_0')

    return clean_value