fixed addition of ?(null) to URL with GET requests using empty params