cleanup in 10.c