minor attachment build fix