fixed bugs
Merge pull request #16 from adolfo0620/updateDom

fixed bugs