Fixes share action.

Fixes share action.