add assert exception