bugfix in power-law baseline fitting