fixed assertException bug