added stacktrace to stderr