Fix Inputs and Outputs