Fixed 'LogicError: Context failed: invalid operation' at context creation'