fixes db configuration