Fixed database installation