simplify the stacktrace code