print backtrace
add footer