removing legacy html