non-ascii ugly patch