clean up stacktrace lines