fixed ace counting