[FIX] Correct _create_attachment method