solve conflicting type size_t vs int