Attempting to fix provider creation