no more errors when quitting game