fixed ie9 bug (Issue #20)