fix life counter