fix class error in EntityData fix#50