fix a demo bug in ie