prevent read of file descriptor 0