fixing html entity problem