date graph fix