fix duration_ms

In this version is duration_ms in seconds but "ms" in variable name is little confusing :-) This fix requires duration_ms in milliseconds.