remove ' char from history and range strings sumbitted to the server