corrected bug on change form event handler