trying to restore the original state after dead