fixes case when an exception is raised on Install