clean up artifact.c