fixing a problem with infinite emiters