fix errors detected by clang