small fixup as cannot have diagnostic in function