sending xml metadata improved.