[FIX] onchange not working properly