removed unneeded Quit() call