set default to stdin mode