fixes for AFNetworking 2