problem with xpCurrent value keeps going to 0