Changed url error in buildFnc