Use proper duration value.