dateScale bug fixes