remove unnecessary quit call