Fixed error with Double settings.