Fix stacktrace.