cleaned up errors in arc.c