support folding for weak routes