fix attachment tab