fixed bug if no backtrace is supplied