added more debug info in assert