fixing if stage for branch predictor