fixed minor clang warnings