fix the plot linestyles