fix numericInput for 2.x branch