corr. bug param.beta was recursively modifed...