Fix when using symlink