fix bug on end of line symble