fixed a bug with quiting every 30 seconds