fix error in settings to log function