tweaking share to show error messages for user