reset stdin or something