change close to exit on exception view