fix for missing imports in stubs