Fixed error w entity definition. lurking 4 errors.