Error fixed in the data parameter passing from addRequire function.