Fixed metadata disappearing issue (#76)

Fixed #76.

Cause of the issue:
After reading metadata from files, XML parser didn't get tag names properly.