fix an issue with the deprecated -o option