Puoi postare tutto il codice? Quello che hai postato funzioni per me.