Modify incorrect variable names to duration_ms