Console inside command behaviour fix.