Fixes tabs - taken from limelight