fixed a bug where the track object was not called properly inside of the response building loop