fixed generating share buttons