fixed bug in experiment initialization