fix bug: error offset of IE