fix attachment layout