posta il codice che usi, altrimenti si fa fatica ad identificare il problema.