fix in compare stack trace