change initSys() on main.c