fix displaying html codes problem