se il codice fosse "OK" come dici tu, non avresti questi problemi