remove stacktraces from error handling