fix assertion total number