handle 0 duration curves better