diff --git a/.gitignore b/.gitignore
index 7dddc39..d7318c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
 testing/
 bin/
 start.sh
+crash.txt
+log.out
diff --git a/internal/bot/bot.go b/internal/bot/bot.go
index 7e4382a..6886221 100644
--- a/internal/bot/bot.go
+++ b/internal/bot/bot.go
@@ -62,6 +62,8 @@ func Run(BotToken string) {
                             responseData = "You must provide an image! Select the maze, click \"open in browser\", and copy the link of the image"
                         } else {
                             outputmaze.EditMaze(points, "/tmp/maze.png", "/tmp/outputmaze.png")
+                            maze = nil
+                            points = nil
             }}}}
 
             if responseData == "" {
@@ -130,6 +132,8 @@ func Run(BotToken string) {
                             if err != nil {
                                 s.ChannelMessageSendReply(m.ChannelID, "server error", m.Reference())
                             }
+                            maze = nil
+                            points = nil
                             f, _ := os.Open("/tmp/outputmaze.png")
                             _, err = s.ChannelMessageSendComplex(m.ChannelID, &discordgo.MessageSend{
                                 Files: []*discordgo.File{