fix distribution validate problems