some fixes, adding backtrace computation