branch prediction example refined and fixed make bug