Bug Fix and Patch

Patch for current input output config