flush residual url when quit