fix numeric input in firefox