Fix cannot exit n request error
Fix fatal error when using simple mode
Fix can't use path + query correctly if no "?" included in path