fix a bug when viewing cards inside a category in children’s view