Fix function re declaration bug
Merge pull request #104 from ratajczak/master

Fix function re declaration bug