fix onChange param