Undesired html elements removed