FIxed bug regarding link generating for facebook