cause identified: duration = NaN, and offset = 0 doesnt work