suppresses warnings and messages during type conversion