i also suspect that the forEach may still be running and line 180 is returned before it is finished unless there is some sort of deferred thing going on that i don't know about