fixed distribution issues