simplify the date header determination
canonicalize instances