Fix database - NB initDB code does not work