fixed problem with non alphanumerics going into query string