fixing some invalid html markup