fix for retrieving correct indexed-action from epmem