fixing original mocked function.