attempt to fix clang static analyzer