fixup: assert attachment as well