fix the symlink bug