Almost fixed bug with infinite loop, incorrect group for share