fix #6578 name cache for hybrid formulas