bugfix: broken raw stdin due to uninitialized static variable