Final commit for fixing the bugs in accelerator memory communication