bug fixes, stream checkresult still fails, got to find out why