sync with AFNetworking