fixing afnetworking warning