fix html truncate, deploy problem