diff --git a/misskaty/plugins/chatbot_ai.py b/misskaty/plugins/chatbot_ai.py
index 84adb2cd..3c0d0ba7 100644
--- a/misskaty/plugins/chatbot_ai.py
+++ b/misskaty/plugins/chatbot_ai.py
@@ -47,7 +47,7 @@ async def gemini_chatbot(_, ctx: Message, strings):
if not response.json().get("candidates"):
await ctx.reply_msg("⚠️ Sorry, the prompt you sent maybe contains a forbidden word that is not permitted by AI.")
else:
- await ctx.reply_msg(html.escape(f'{response.json()["candidates"][0]["content"]["parts"][0]["text"]}\n\nPowered by: Gemini Flash 1.5'))
+ await ctx.reply_msg(html.escape(response.json()["candidates"][0]["content"]["parts"][0]["text"])+'\nPowered by: Gemini Flash 1.5')
await msg.delete()
except Exception as e:
await ctx.reply_msg(str(e))
diff --git a/misskaty/plugins/misc_tools.py b/misskaty/plugins/misc_tools.py
index d4993c3d..7f50f50f 100644
--- a/misskaty/plugins/misc_tools.py
+++ b/misskaty/plugins/misc_tools.py
@@ -181,7 +181,7 @@ async def removebg(_, ctx: Client):
return await ctx.reply_msg("Only support photo for remove background.")
prg = await ctx.reply("Processing...")
source = await ctx.reply_to_message.download()
- await gen_trans_image(ctx.reply_to_message, f"transp_bckgrnd-{ctx.from_user.id}.png")
+ await gen_trans_image(source, f"transp_bckgrnd-{ctx.from_user.id}.png")
await ctx.reply_photo(f"transp_bckgrnd-{ctx.from_user.id}.png")
await prg.delete_msg()
os.remove(source)