Fixed bug when backtrace is empty