fix exception assert util