fix return for clang