Fix the reducePath call
Merge pull request #142 from ti0rafa/master

Fix the reducePath call