Fixed a context bug.