support for nimbus(1.2.0) and afnetworking(2.2.3)