clean up html elements