fix: should remove query and fragment strings from parsed path.