fixed clang compile error