fixing allocation of uplinkMap array