Remove extraneous output
Correct active pin logic