risolto mettendogli anche l'else....grr...