A fix in SmartTab