fixing minor exception stacktrace display bug