[Bug]: downsampling bug fix