end of line correction in the right branch