correction on relation-extractor.sh