fix cppcheck style checking