fix xhr path