randomization errors partly solved