be more verbose
remove reference to assert.h
illegal read fixed