Fixed _quit() bug