Remote $entity from flush method