fix monkey patch, shoud patch the base module
tune and fixes logging messages
bug fix for event scope in iteration
attach tables set inside session.info

the session is different from session() so the previous way not working