I have done 2 batches of the rice wine and had white mold in the 1st batch and black mold in the 2nd batch.
Other than making sure that every equipment used is sterilized and clean, the water used should be either boiled, filtered water or bottled water to avoid mold.