number entry bug fix