fix clang and stringencoders