added cleanup under bot scope