Small rearrangement of start.c to fix a bug