some compilation fixes for extractors.