fix for handling symlinks to external data