revert query str