bug fixes for multiple try randomisation