bug fix for multiple outputs