fixing exit criteria and IP Tweet