[FIX] fixed some clang warnings in stream manipulation

Stephan fixed clang warnings in stream manipulation