fixed errors in apt allotment results