Removed nextTick call
Correctly included Query String