fix initial value by checking isNumeric
fix wrong event handler prefix