new_foreach entities (error)