dates fix