mute warning from invalid type test