fixed minor bug when adding the number of calls in queue