fixed an issue with successhandling for twitter sharing