debug: :q returns, clear flags