people calcualtion fixed