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