Fix uninitialized values in main.c