size_t fixes