add null safety to cancelled requests in facebook