separated unaliasing into _to_dir