cleanup monst.c