Fix create share

Fixes #442