fixed database initialization error
app should not crash anymore on first startup because of database creation/access conflicts