fix cppcheck take 2