fixing downsample imports