fixed bug which would continually create new Context objects.