Fixed init db