fix distribution error