Fix duplicate share error