It doesn't work well to use numbers as the names of costumes. In your project the names and numbers agreed for 1-9 but the zero, costume name 0, was costume number 11, while costume number 0 is of course the turtle.
The usual technique in such cases is to give the costumes names such as digit1, digit2, etc., and then use