entity plugin handling