Fixing ordering of tabs