fix share codes