Fixed bug that causes bot to not start.