fix main loop
fix main loop

taylor001/crown,dbartolini/crown,taylor001/crown,galek/crown,taylor001/crown,mikymod/crown,dbartolini/crown,taylor001/crown,mikymod/crown,dbartolini/crown,mikymod/crown,galek/crown,galek/crown,mikymod/crown,dbartolini/crown,galek/crown