fix a bug in ie8
Merge branch 'tmp'