change order of setting properties of the bot