fix bug of setting MD for non-parent nodes when loading distribution
from hadoop output