major fit_powerlaw bug