number of people function bug fixed~