bug fixes when resuming tabs