make stdin work again