when considering min size for category, use parent min size if child is set to zero
fix error