remove 'size' and depend only on number_ios