fixing warning about inserting non-unicode data into unicode type