fixes share buttons

fixes #316