added print stacktrace to previous