undefined type for entity added