Fixed quit error