Fix typo in OldAPI shim