Bug fix in passing settings to tabs.