Bot fixes

Resolves compile issues for bots