fixed bug with arrows in empty branches