Corrected typo in entity.c