[FIX] bad test in onchange