Fixed errors sometime

Error if open provider, that updated to new version