fixed life bug