Fixed autoloading of first tab