fixing bug fitting with binned efficiency