Added workaround for duration=None