add more clear functions
submit_canonical uses new-style ids