Ok ho risolto, grazie
Non avevo visto quel problema nel costruttore