Fixed bug where queries error the page, defined PATH_URI: is the request URI without query str