fixing a bug, where the keyboard will not show