fix for html escaped symbols