Fix main loop