bug fix for lives system