fix bug creating XML request for simple value