cleanup reg name