fix rendering bug when removing last line
update telegraph