another bug fix to unblock valid inlinings
fix in singletonize