sub-circuit bug has been resolved by removing opamp1