// will fix invalid db entries (invalid ids and stuff)