che vuol dire impazzisce? errori? forme strane dell'array? var_dump su rit e $iden?