fix several issues with bots for linux