some more fixes to accomodate user-specified tags in mkMem[read|write]Engine