Fix the bug which refused to accept -n and -s options