fixed cats nil case