fixed bug counting cutouts