fix scan vs introspection