fix bug: entities type