Solved a bug found in version 3 Bot.