fix xscale on hist