added fix for initial tab selection