trim for IE