fixing an ie10 bug