fix japanese handling