fixed encoding in ice