xml complete. database not open bug not fixed.