Warningfix knut

Warningsfixes by Knut.