removed unnecessary call to die