move tabs to spaces in main.c