you have to disable the analog A/Ds

ADCON1=7

And probably analog comparator
CMCON=7