fixing assertion messages