fixed distribution error