fix switch tabs