bugfix for valueChange to undefined