bugfix: stdin is 0