database correction