fixed size_t issue for clan