stdin fix take two