add line smooth option