0 = PORTB pull-ups are enabled by individual port latch values - inputs only get pullups

BTW OPTION_REG.7=0 Decimal point got lost in post, I will fix in your post, check your code