decrease queue size and add debug output