allow stack trace rewrite