fixed for newer format of entity data
Ugh.