fixing main.c time