Fix database xml