fix a bug in the methylation extractor