clean up HTML problems