fixing issues found by clang
as before