use quit instead close