hotfix issue #181 for IE compat