networkManager::Init() //buffers reset code added