fixing db init file