fixed std::size_t in entity