fix for broken mergeWebXml functionality