Fix size_t that should be int