IE trim fix