delete unnecessary html