line plotting fixed