fixed bug with recursion
Merge pull request #3 from vladignatyev/master

fixed bug with recursion