fixed a problem where the queue could get too full and eom