Fixes marks bad branch