Fixes to number input