fix for symlink bug