Make process chaining work properly