Sqlite db creation fix