adjust levels for sd()