fixed the order of the xml elemnts part 1 #3