Branch correction