fixed bug where xml node couldn't be found due to added metadata.
updated comment.