improved translation of type conversions