fixing twitter/facebook bug