Bug in Context class