You need to validate the returned context.