fix line blocks