fixed default active tab to -1