fixed quit