fixed error_handler to close display