Not trying to be “That guy,” but variables need to match in your code.

You have “embedding” “embeding” and “ebedding” and other spelling errors throughout. Once a lot of this is fixed, and checking other spellings throughout your code it’ll be a lot easier to debug after that.