fixes some unicode sandwich problems, also fixes methods being mis-identified by the _get_type() method