Fixed incompatible stubs when address caching and page caching are disabled

Here is a quick fix for the parameter mismatches when the address cache and the page cache are disabled.