Fix the init of the db..