Fixed a bug where the path wasn't correct, causing an erroneous result