Fix relative path bug