fix dirty branch indicator