fix admin database