fixed cages not saving entity data