Use of streams are bugged