add code to preserve atributes on body tag