handle unicode data better