Fixed multi-input/output problem