Removing warnings and removed extra logic in ndn-ns3