fixes for xml request string