Fixed opening tab bug