change ui and add stack trace