fix ie8 bug in triggermethod class