fix up partition func error msgs