Fixing an issue with the path base