cleanedup init.c