fix get branch