fixing a db generate mistake