fix line render