updated measurement converting
fixed start date for pre detox