datespan cleanup