fix issue related to escape html entities