finish if 'q' separator