Database initialization bug fixed.