Fixing current context setting.