fix unicode assertions for inserts