stdin stdout getter and setter
fix bug when only spaces on commande line