fixing auth xml copying issue