Fix nock function.