adding stream outputs was failing with a spectacular exception