clean up some issues with text-number input