abandon changes of previously used query