Fixed crash with share.