fixed capitalization error when subsampling