fix problem of img paths; begin impling Stream