avoiding empty share button