database fixing