edit the cdflow calculation, sometimes still negative