html char bug fix