fixed socket stream, image processing not working properly...