avoid expensive resolve-based folding in dumb mode