remove last queue reference