fixing up tabs