fix basestats min/max gen check