i have checked by printing all three cats and by printing cats after removing one, but it fails all time....please help someone