diff --git a/sticker/lib/matrix.py b/sticker/lib/matrix.py
index cf405d839d25bbd2ffeb352fd0806e76e47e757a..e506e83496d23bb6fc73b07d3049a751739fc591 100644
--- a/sticker/lib/matrix.py
+++ b/sticker/lib/matrix.py
@@ -42,6 +42,7 @@ if TYPE_CHECKING:
         url: str
         info: MediaInfo
         id: str
+        msgtype: str
 else:
     MediaInfo = None
     StickerInfo = None
diff --git a/sticker/lib/util.py b/sticker/lib/util.py
index 2d58c8238f6d9f8a9aae2bcc78773b7cedc83fe8..2b3fe2a267e060be547161b825deea9351b29217 100644
--- a/sticker/lib/util.py
+++ b/sticker/lib/util.py
@@ -76,4 +76,5 @@ def make_sticker(mxc: str, width: int, height: int, size: int,
                 "mimetype": "image/png",
             },
         },
+        "msgtype": "m.sticker",
     }
diff --git a/sticker/stickerimport.py b/sticker/stickerimport.py
index c852e78a496a0d5adddcd42c03ce91075ef90f09..f153e981c20ea443e2fb50895e37b40fdc07f010 100644
--- a/sticker/stickerimport.py
+++ b/sticker/stickerimport.py
@@ -138,11 +138,12 @@ async def main(args: argparse.Namespace) -> None:
     if args.list:
         stickers: AllStickers = await client(GetAllStickersRequest(hash=0))
         index = 1
-        width = len(str(stickers.sets))
+        width = len(str(len(stickers.sets)))
         print("Your saved sticker packs:")
         for saved_pack in stickers.sets:
             print(f"{index:>{width}}. {saved_pack.title} "
                   f"(t.me/addstickers/{saved_pack.short_name})")
+            index += 1
     elif args.pack[0]:
         input_packs = []
         for pack_url in args.pack[0]: