Fixing a relative path bug