fixed issue with invitation queue