check provider enabled before non-marshalled initializing