added smart tab setting