Very likely porta for led 4 is an open collector port. In such a case, you just need to change the way the led is connected.
(Check the data sheet for confirmation)

Cheers

Al.