improve bot mechanism.