fix bug of default tab rules.