small fixes for min counts