fix display of matches and html code