fixed a size_t to dword warning, we should never exceed dword range