Fixed a bug in facebook sharing