fix duplicate declaration error (#34)
Merge pull request #44 from chriserik/fix-duplicate-declarations

fix #34