database startup fixed