fix minor bug with share button