fix related when bot ask ops about a mode change
few performance changes
various fix