bug for distribution corrected