data perturbing bug fixed