fixed duplicate stacktrace