why is game mode changing to default in c++

Hi
im quite new to c++ and i dont know how i can solve this but im trying to use c++ game mode

What i have done so far:

  • created a blueprint game mode that is parented to c++ game mode
  • used the default class finder in c++ game mode to assign the modes i want (pawn and controller)
  • made a c++ pawn script with a move function
  • created a bp pawn parented to the c++ pawn script
  • on the bp game mode, i changed the settings and just in case also did it in the project settigns
  • created a movement input

when i run, my pawn doesnt move

here are few screen shots

PlayerController:

In Pawn C++:
image

GameMode C++: