Fix daabase