clean up attrib.c