fixed a display issue when listing branches