fixed error when twitter or xmpp is missing