clean up unnecessary html