FIx tabs and clean file from old tab system