Fixing IE9 bug