fix circular dep when instanciating em service from compiler pass