fix bugs: prevent annoying pop up keyboard