fixed previous commit where onChange event was in the wrong place