fix for multiple input/outputs added