resolving paths where they're used