allow empty stdin data at starting point. fixes #1