Fixes a relative path bug