switched from error to die