fixing -s switch