fixed xhr bug on the svg loader