added clang workarounds for uninitialized vars