[FIX] debug statement
[FEATURE] do not compute stdev if not necessary