improve japanese mode