queue size fix