make xml workable