solve errors part 2