output stream bug fix (some images were not showing)