fixed broken symlinks bug