bug fix. to get the block Ids from map in memory when the id was assigned already.