Fixed the problem with expanding in first word of new line