duplicate dom ids so try to make classes in hist