formating fixes for chinese
fixed very rare npe