fix share bugs