fixed open problems in MPSUtil, as far as possible.