changed broken symlinks to directories