fixing quit.