diff --git a/snakes/play.php b/snakes/play.php
index 3022a3a..6ed153e 100755
--- a/snakes/play.php
+++ b/snakes/play.php
@@ -269,7 +269,7 @@ function game_snakes_showquestion_glossary( $id, $snakes, $query, $game)
echo '\n";
$cmglossary = get_coursemodule_from_instance('glossary', $game->glossaryid, $game->course);
- $contextglossary = get_context_instance(CONTEXT_MODULE, $cmglossary->id);
+ $contextglossary = game_get_context_module_instance( $cmglossary->id);
$s = game_filterglossary(str_replace( '\"', '"', $entry->definition), $query->glossaryentryid, $contextglossary->id, $game->course);
echo $s.'
';
diff --git a/version.php b/version.php
index ca1a9ad..a4c8761 100755
--- a/version.php
+++ b/version.php
@@ -11,7 +11,7 @@
defined('MOODLE_INTERNAL') || die();
$module->component = 'mod_game'; // Full name of the plugin (used for diagnostics)
-$module->version = 2014061802; // The current module version (Date: YYYYMMDDXX)
+$module->version = 2014061803; // The current module version (Date: YYYYMMDDXX)
$module->requires = 2010112400; // Requires Moodle 2.0
$module->cron = 0; // Period for cron to check this module (secs)
-$module->release = '3.18.18.2';
+$module->release = '3.18.18.3';