[BUGFIX] fix for inability to replace images inside torrent, due to not defined variable