fix x-axis autoscale