fixing -o (Issue #266)