assert on message and fix backtrace location