Fixed bug as initArgs is not defined here.

Just a very very small bug fix, `initArgs` is nowhere to be seen and at the very least solved the issue in my application.