Fixed QUIT-problem