reversed some XML stuff for display