ensure a coercion on invoke calls