fixes #20 add warning when reading from stdin