Sorry sir, but I've found a solution for my problem.
It seems I was placed an entity in wrong place. I put it too near with the ground. So the flag will missing and that's why I couldn't play on CTF mode xD
By the way, back to your Sandbot. How about the progress? Does your Sandbot no longer has bot_count problem?