handle removed entities