fix overwrite mode with numericInput