fix bad duplicate block id #532