try to fix a bug with the db