fix ballon when more than 3 lines input