fixed seg fault at quit