fixing clang complains