ADCON1 = 7

should be there to set all to digital.
I'ts all readable in the datasheet of that part.