changed entity id type to uint64_t from unsigned int