Fix logging bug and element ID bug
Merge pull request #7 from vkaravir/small-fixes

Fix logging bug and element ID bug