fix problem hidden tabs aren't rotated