fixed scripted bot error.