fixed minor bug on input dialog box..