fixed warning about share button