fix database install