refactor, trying to suppress keyboard popup