My bad. In my while(1), i forgot to put a wait(1).