clang compilation bug resolved