Fixed https://github.com/andreaferretti/paths-js/issues/2