Fixed checking for `fakeAPI`