edit trim for IE