fix naming; replace 65536 with (size_t)-1