Chess kind of game has a bug?

So, wtf hapenned here? I’m folowing a Chess tutorial (I’m doing a Shogi game) but It’s not working.

http://puu.sh/nTEz2/357c6581d8.png
http://puu.sh/nTEAH/e6e1c56784.png
http://puu.sh/nTEGB/29efcd74e5.png
http://puu.sh/nTEIO/823d6fa7ec.png

It is supposed to highlight the piece I move with gold underneath and it does that. But when I move my piece, I want it to change that space to return to normal, but it just disappears and gives me that error :frowning:

http://puu.sh/nTETc/75eeb1c003.jpg
http://puu.sh/nTEWk/d39dfc6079.jpg
http://puu.sh/nTEXn/9c3699e962.jpg

I’ll be really glad if someone could help me! Thnaks!