trying to make a fix for when mysql goes away