fixed bug in assertion error handling