remove unnecessary html