fix Database