canonicalize to make comparison easier