how about PORTA.4??? is this pin tie with pull-up resistor???

Not sure if PBP handle the R/W pin for you. Can you add a LOW PORTE.0 and post results...