Fixed bug in line wrap