fixed #245 - flows.trampoline does not preserve globals.context